#ifndef __SESSION_HPP__
#define __SESSION_HPP__

#include "luoo_session_base.hpp"

class session: public luoo::session_base
{
public:
	session(boost::asio::io_service& io_service, boost::asio::io_service& process_service, const unsigned int session_id)
		: luoo::session_base(io_service, process_service, session_id)
	{}

	virtual ~session()
	{

	}
public:
	virtual void OnConnected()
	{
	}
	virtual void OnRecv(luoo::packet_header* header, unsigned int data_len)
	{
		std::cout << header->get_packet_count() << std::endl;
	}
	virtual void OnDisconnected()
	{

	}
};

#endif//__SESSION_HPP__